import path from "path";

export const BCRYPT_SALT = 10
export const ADMIN_ID = '00001'
export const ROBOT_ID = '00002'
export const ROBOT_LINE = '你好，欢迎使用EasyChat！'
export const FILE_SIZE_LIMIT = 20 * 1024 * 1024
export const FILE_UPLOAD_DIR = path.resolve("uploads", "file");
export const COVER_UPLOAD_DIR = path.resolve("uploads", "cover");
export const HLS_UPLOAD_DIR = path.resolve("uploads", "hls");

export const AVATAR_SIZE_LIMIT = 5 * 1024 * 1024
export const AVATAR_UPLOAD_DIR = path.resolve("uploads", "avatar");
export const HEARTBEAT_TIMEOUT = 6000;
